import { S } from '../s';
import { IPSControlAttribute } from './ipscontrol-attribute';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSControlAttributeProxy
  extends PSModelObjectImpl
  implements IPSControlAttribute
{
  get attrName(): string {
    return this.M.attrName;
  }

  get attrValue(): string {
    return this.M.attrValue;
  }

  get name(): string {
    return this.M.name;
  }
  get cls(): string {
    return 'PSControlAttributeProxy';
  }
  instanceof(cls: string): boolean {
    if (cls == S._3f5) return true;
    return super.instanceof(cls);
  }
}
